package com.foreveross.bsl.mam.model.app.domain;

import java.util.Date;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Field;

import com.foreveross.bsl.mongodb.domain.Entity;

/**
 * 系统设置类实体
 * 
 * @author panhanmao
 * @2013-6-20 @下午3:18:28
 */
public class SettingCategory extends Entity {

	@Id
	private String id;

	/**
	 * 是否有效 0:无效 1：有效
	 */
	@Field("available")
	private String available;

	/**
	 * 创建时间
	 */
	@Field("create_time")
	private Date create_time;

	/**
	 * 修改时间；
	 */
	@Field("modified_time")
	private Date modified_time;

	/**
	 * 名称
	 */
	@Field("name")
	private String name;

	/**
	 * type:TODO 类型
	 * 
	 * @since 1： 应用类别 2：模块类别 3：用户类别
	 */
	@Field("type")
	private String type;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAvailable() {
		return available;
	}

	public void setAvailable(String available) {
		this.available = available;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public Date getModified_time() {
		return modified_time;
	}

	public void setModified_time(Date modified_time) {
		this.modified_time = modified_time;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

}
